//首页
export type RecordItem = {
    id: string;
    type: string;
    name: string;
    duration: number;
    coverImage: string | number
    date: string;
    uri: string;
    currentTime: number;
    mimeType: string | undefined;
};

export type Section = {
    title: string;
    data: RecordItem[];
};

// 播客
export type Podcast = {
    id: string;
    name: string;
    artist: string;
    artwork: string;
    count: number;
}

export type Episode = {
    id: string;
    name: string;
    description: string;
    uri: string;
    artwork: string;
    duration: number;
    count: number;
    date: string;
}


//播放
export type Word = {
    end: number;
    start: number;
    word: string;
}
export type Sentence = {
    id: number;
    end: number;
    start: number;
    text: string;
    words: Word[];
    translation: string;
}
export type Transcription = Sentence[];
